@echo off 
echo Stoping nginx�� 

taskkill /F /IM nginx.exe 

echo Validating nginx.conf�� 

nginx.exe -t -c conf/nginx-newyear.conf

echo Starting nginx�� 

nginx.exe -c conf/nginx-newyear.conf

tasklist | findstr nginx

echo Press any key to exit! 
echo. & pause